<?php /* Smarty version 2.6.26, created on 2009-07-22 11:28:55
         compiled from default/index.dwt */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'default/index.dwt', 45, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_tpl_vars['keywords']; ?>
" />
<meta name="Description" content="<?php echo $this->_tpl_vars['description']; ?>
" />
<title><?php echo $this->_tpl_vars['page_title']; ?>
</title>
<link rel="shortcut icon" href="favicon.ico" ></link>
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<div class="blank"></div>
<div class="block clearfix">
  <!--left start-->
  <div class="AreaL">
    <!--站内公告 start-->
    <div class="box">
     <div class="box_1">
      <h3><span><?php echo $this->_tpl_vars['shop_notice']; ?>
</span></h3>
      <div class="boxCenterList RelaArticle">
        <?php echo $this->_tpl_vars['shop_notice']; ?>

      </div>
     </div>
    </div>
    <div class="blank5"></div>
    <!--站内公告 end-->
  <!-- TemplateBeginEditable name="左边区域" -->
<!-- #BeginLibraryItem "/library/cart.lbi" -->

<div class="cart" id="ECS_CARTINFO">
 </div>
<div class="blank5"></div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/category_tree.lbi" -->

<div class="box">
 <div class="box_1">
  <div id="category_tree">
    <!--<?php $_from = $this->_tpl_vars['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['cat']):
?>-->
     <dl>
     <dt><a href="<?php echo $this->_tpl_vars['cat']['url']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</a></dt>
     <!--<?php $_from = $this->_tpl_vars['cat']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['child']):
?>-->
     <dd><a href="<?php echo $this->_tpl_vars['child']['url']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['child']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</a></dd>
     <!--<?php endforeach; endif; unset($_from); ?>-->
     </dl>
    <!--<?php endforeach; endif; unset($_from); ?>--> 
  </div>
 </div>
</div>
<div class="blank5"></div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/top10.lbi" -->

<div class="box">
 <div class="box_2">
  <div class="top10Tit"></div>
  <div class="top10List">
   <ul>
    <!-- <?php $_from = $this->_tpl_vars['top_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['top_goods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['top_goods']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['goods']):
        $this->_foreach['top_goods']['iteration']++;
?>-->
    <li><img src="../images/top_<?php echo $this->_foreach['top_goods']['iteration']; ?>
.gif" /> <a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"><?php echo $this->_tpl_vars['goods']['short_name']; ?>
</a></li>
    <!--<?php endforeach; endif; unset($_from); ?>-->
   </ul>
  </div>
 </div>
</div>
<div class="blank5"></div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/promotion_info.lbi" -->

<!-- <?php if ($this->_tpl_vars['promotion_info']): ?> -->
<!-- 促销信息 -->
<div class="blank5"></div>
<!-- <?php endif; ?> -->
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/auction.lbi" -->

<!-- <?php if ($this->_tpl_vars['auction_list']): ?> -->

<div class="blank5"></div>
<!-- <?php endif; ?> -->
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/group_buy.lbi" -->

<!-- <?php if ($this->_tpl_vars['group_buy_goods']): ?> -->
<div class="blank5"></div>
<!-- <?php endif; ?> -->
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/order_query.lbi" -->

<!--<?php if (empty ( $this->_tpl_vars['order_query'] )): ?>-->
<script>var invalid_order_sn = "<?php echo $this->_tpl_vars['lang']['invalid_order_sn']; ?>
"</script>
<div class="box">
 <div class="box_1">
  <h3><span><?php echo $this->_tpl_vars['lang']['order_query']; ?>
</span></h3>
  <div class="boxCenterList">
    <form name="ecsOrderQuery">
    <input type="text" name="order_sn" class="inputBg" /><br />
    <div class="blank5"></div>
    <input type="button" value="<?php echo $this->_tpl_vars['lang']['query_order']; ?>
" class="bnt_blue_2" onclick="orderQuery()" />
    </form>
    <div id="ECS_ORDER_QUERY" style="margin-top:8px;">
      <!--<?php else: ?>-->
      <!--<?php if ($this->_tpl_vars['order_query']['user_id']): ?>-->
<b><?php echo $this->_tpl_vars['lang']['order_number']; ?>
：</b><a href="user.php?act=order_detail&order_id=<?php echo $this->_tpl_vars['order_query']['order_id']; ?>
" class="f6"><?php echo $this->_tpl_vars['order_query']['order_sn']; ?>
</a><br>
  <!--<?php else: ?>-->
<b><?php echo $this->_tpl_vars['lang']['order_number']; ?>
：</b><?php echo $this->_tpl_vars['order_query']['order_sn']; ?>
<br>
  <!--<?php endif; ?>-->
<b><?php echo $this->_tpl_vars['lang']['order_status']; ?>
：</b><br><font class="f1"><?php echo $this->_tpl_vars['order_query']['order_status']; ?>
</font><br>
  <!--<?php if ($this->_tpl_vars['order_query']['invoice_no']): ?>-->
<b><?php echo $this->_tpl_vars['lang']['consignment']; ?>
：</b><?php echo $this->_tpl_vars['order_query']['invoice_no']; ?>
<br>
  <!--<?php endif; ?>-->
      <?php if ($this->_tpl_vars['order_query']['shipping_date']): ?>：<?php echo $this->_tpl_vars['lang']['shipping_date']; ?>
 <?php echo $this->_tpl_vars['order_query']['shipping_date']; ?>
<br>
  <!--<?php endif; ?>-->
  <!--<?php endif; ?>-->
    </div>
  </div>
 </div>
</div>
<div class="blank5"></div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/invoice_query.lbi" -->

<!--<?php if ($this->_tpl_vars['invoice_list']): ?>-->
<div class="box">
 <div class="box_1">
  <h3><span><?php echo $this->_tpl_vars['lang']['shipping_query']; ?>
</span></h3>
  <div class="boxCenterList">
    <!-- 发货单查询<?php $_from = $this->_tpl_vars['invoice_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['invoice']):
?> -->
   <?php echo $this->_tpl_vars['lang']['order_number']; ?>
 <?php echo $this->_tpl_vars['invoice']['order_sn']; ?>
<br />
   <?php echo $this->_tpl_vars['lang']['consignment']; ?>
 <?php echo $this->_tpl_vars['invoice']['invoice_no']; ?>

   <div class="blank"></div>
   <!-- 结束发货单查询<?php endforeach; endif; unset($_from); ?>-->
  </div>
 </div>
</div>
<div class="blank5"></div>
<!-- <?php endif; ?> -->
 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/vote_list.lbi" -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/email_list.lbi" -->

<div class="box">
 <div class="box_1">
  <h3><span><?php echo $this->_tpl_vars['lang']['email_subscribe']; ?>
</span></h3>
  <div class="boxCenterList RelaArticle">
    <input type="text" id="user_email" class="inputBg" /><br />
    <div class="blank5"></div>
    <input type="button" class="bnt_blue" value="<?php echo $this->_tpl_vars['lang']['email_list_ok']; ?>
" onclick="add_email_list();" />
    <input type="button" class="bnt_bonus"  value="<?php echo $this->_tpl_vars['lang']['email_list_cancel']; ?>
" onclick="cancel_email_list();" />
  </div>
 </div>
</div>
<div class="blank5"></div>
<?php echo '
<script type="text/javascript">
var email = document.getElementById(\'user_email\');
function add_email_list()
{
  if (check_email())
  {
    Ajax.call(\'user.php?act=email_list&job=add&email=\' + email.value, \'\', rep_add_email_list, \'GET\', \'TEXT\');
  }
}
function rep_add_email_list(text)
{
  alert(text);
}
function cancel_email_list()
{
  if (check_email())
  {
    Ajax.call(\'user.php?act=email_list&job=del&email=\' + email.value, \'\', rep_cancel_email_list, \'GET\', \'TEXT\');
  }
}
function rep_cancel_email_list(text)
{
  alert(text);
}
function check_email()
{
  if (Utils.isEmail(email.value))
  {
    return true;
  }
  else
  {
    alert(\'{$lang.email_invalid}\');
    return false;
  }
}
</script>
'; ?>



 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->

  </div>
  <!--left end-->
  <!--right start-->
  <div class="AreaR">
   <!--焦点图和站内快讯 START-->
    <div class="box clearfix">
     <div class="box_1 clearfix">
       <div class="f_l" id="focus">
        <script type="text/javascript">
        var swf_width=484;
        var swf_height=200;
        </script>
        <script type="text/javascript" src="data/flashdata/<?php echo $this->_tpl_vars['flash_theme']; ?>
/cycle_image.js"></script>
       </div>
       <!--news-->
       <div id="mallNews" class="f_r">
        <div class="NewsTit"></div>
        <div class="NewsList tc">
         <!-- TemplateBeginEditable name="站内快讯上广告位（宽：210px）" -->
<!-- TemplateEndEditable -->
        <!-- #BeginLibraryItem "/library/new_articles.lbi" --><!-- #EndLibraryItem -->
        </div>
       </div>
       <!--news end-->
     </div>
    </div>
    <div class="blank5"></div>
   <!--焦点图和站内快讯 END-->
   <!--今日特价，品牌 start-->
    <div class="clearfix">
      <!--特价-->
      <!-- #BeginLibraryItem "/library/recommend_promotion.lbi" --><!-- #EndLibraryItem -->
      <!--品牌-->
      <div class="box f_r brandsIe6">
       <div class="box_1 clearfix" id="brands">
        <!-- #BeginLibraryItem "/library/brands.lbi" --><!-- #EndLibraryItem -->
       </div>
      </div>
    </div>
    <div class="blank5"></div>
   <!-- TemplateBeginEditable name="右边主区域" -->
<!-- #BeginLibraryItem "/library/recommend_best.lbi" -->

<!-- <?php if ($this->_tpl_vars['best_goods']): ?> -->
<!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
<div class="box">
<div class="box_2 centerPadd">
  <div class="itemTit" id="itemBest">
      <?php if ($this->_tpl_vars['cat_rec'][1]): ?>
      <h2><a href="javascript:void(0)" onclick="change_tab_style('itemBest', 'h2', this);get_cat_recommend(1, 0);"><?php echo $this->_tpl_vars['lang']['all_goods']; ?>
</a></h2>
      <?php $_from = $this->_tpl_vars['cat_rec'][1]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rec_data']):
?>
      <h2 class="h2bg"><a href="javascript:void(0)" onclick="change_tab_style('itemBest', 'h2', this);get_cat_recommend(1, <?php echo $this->_tpl_vars['rec_data']['cat_id']; ?>
)"><?php echo $this->_tpl_vars['rec_data']['cat_name']; ?>
</a></h2>
      <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>
  </div>
  <div id="show_best_area" class="clearfix goodsBox">
  <!-- <?php endif; ?> -->
  <!--<?php $_from = $this->_tpl_vars['best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['goods']):
?>-->
  <div class="goodsItem">
         <span class="best"></span>
           <a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
"><img src="<?php echo $this->_tpl_vars['goods']['thumb']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" class="goodsimg" /></a><br />
           <!--<a href="javascript:addToCart(<?php echo $this->_tpl_vars['goods']['goods_id']; ?>
)"><img src="images/bnt_buy.gif" /></a> <a href="javascript:collect(<?php echo $this->_tpl_vars['goods']['goods_id']; ?>
);"><img src="images/bnt_coll.gif" /></a>-->
           <p><a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"><?php echo $this->_tpl_vars['goods']['short_style_name']; ?>
</a></p>
           <font class="f1">
           <!-- <?php if ($this->_tpl_vars['goods']['promote_price'] != ""): ?> -->
          <?php echo $this->_tpl_vars['goods']['promote_price']; ?>

          <!-- <?php else: ?>-->
          <?php echo $this->_tpl_vars['goods']['shop_price']; ?>

          <!--<?php endif; ?>-->
           </font>
        </div>
  <!--<?php endforeach; endif; unset($_from); ?>-->
  <div class="more"><a href="../search.php?intro=best"><img src="images/more.gif" /></a></div>
  <!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
  </div>
</div>
</div>
<div class="blank5"></div>
  <!-- <?php endif; ?> -->
<!-- <?php endif; ?> -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/recommend_new.lbi" -->

<!-- <?php if ($this->_tpl_vars['new_goods']): ?> -->
<!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
<div class="box">
<div class="box_2 centerPadd">
  <div class="itemTit New" id="itemNew">
      <?php if ($this->_tpl_vars['cat_rec'][2]): ?>
      <h2><a href="javascript:void(0)" onclick="change_tab_style('itemNew', 'h2', this);get_cat_recommend(2, 0);"><?php echo $this->_tpl_vars['lang']['all_goods']; ?>
</a></h2>
      <?php $_from = $this->_tpl_vars['cat_rec'][2]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rec_data']):
?>
      <h2 class="h2bg"><a href="javascript:void(0)" onclick="change_tab_style('itemNew', 'h2', this);get_cat_recommend(2, <?php echo $this->_tpl_vars['rec_data']['cat_id']; ?>
)"><?php echo $this->_tpl_vars['rec_data']['cat_name']; ?>
</a></h2>
      <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>
  </div>
  <div id="show_new_area" class="clearfix goodsBox">
  <!-- <?php endif; ?> -->
  <!--<?php $_from = $this->_tpl_vars['new_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['goods']):
?>-->
  <div class="goodsItem">
         <span class="news"></span>
           <a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
"><img src="<?php echo $this->_tpl_vars['goods']['thumb']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" class="goodsimg" /></a><br />
           <!--<a href="javascript:addToCart(<?php echo $this->_tpl_vars['goods']['goods_id']; ?>
)"><img src="images/bnt_buy.gif" /></a> <a href="javascript:collect(<?php echo $this->_tpl_vars['goods']['goods_id']; ?>
);"><img src="images/bnt_coll.gif" /></a>-->
           <p><a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"><?php echo $this->_tpl_vars['goods']['short_style_name']; ?>
</a></p>
           <font class="f1">
           <!-- <?php if ($this->_tpl_vars['goods']['promote_price'] != ""): ?> -->
          <?php echo $this->_tpl_vars['goods']['promote_price']; ?>

          <!-- <?php else: ?>-->
          <?php echo $this->_tpl_vars['goods']['shop_price']; ?>

          <!--<?php endif; ?>-->
           </font>
        </div>
  <!--<?php endforeach; endif; unset($_from); ?>-->
  <div class="more"><a href="../search.php?intro=new"><img src="images/more.gif" /></a></div>
  <!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
  </div>
</div>
</div>
<div class="blank5"></div>
  <!-- <?php endif; ?> -->
<!-- <?php endif; ?> -->

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/recommend_hot.lbi" -->

<!-- <?php if ($this->_tpl_vars['hot_goods']): ?> -->
<!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
<div class="box">
<div class="box_2 centerPadd">
  <div class="itemTit Hot" id="itemHot">
      <?php if ($this->_tpl_vars['cat_rec'][3]): ?>
      <h2><a href="javascript:void(0)" onclick="change_tab_style('itemHot', 'h2', this);get_cat_recommend(3, 0);"><?php echo $this->_tpl_vars['lang']['all_goods']; ?>
</a></h2>
      <?php $_from = $this->_tpl_vars['cat_rec'][3]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rec_data']):
?>
      <h2 class="h2bg"><a href="javascript:void(0)" onclick="change_tab_style('itemHot', 'h2', this);get_cat_recommend(3, <?php echo $this->_tpl_vars['rec_data']['cat_id']; ?>
)"><?php echo $this->_tpl_vars['rec_data']['cat_name']; ?>
</a></h2>
      <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>
  </div>
  <div id="show_hot_area" class="clearfix goodsBox">
  <!-- <?php endif; ?> -->
  <!--<?php $_from = $this->_tpl_vars['hot_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['goods']):
?>-->
  <div class="goodsItem">
         <span class="hot"></span>
           <a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
"><img src="<?php echo $this->_tpl_vars['goods']['thumb']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" class="goodsimg" /></a><br />
           <!--<a href="#"><img src="images/bnt_buy.gif" /></a> <a href="#"><img src="images/bnt_coll.gif" /></a>-->
           <p><a href="<?php echo $this->_tpl_vars['goods']['url']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['goods']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"><?php echo $this->_tpl_vars['goods']['short_style_name']; ?>
</a></p>
           <font class="f1">
           <!-- <?php if ($this->_tpl_vars['goods']['promote_price'] != ""): ?> -->
          <?php echo $this->_tpl_vars['goods']['promote_price']; ?>

          <!-- <?php else: ?>-->
          <?php echo $this->_tpl_vars['goods']['shop_price']; ?>

          <!--<?php endif; ?>-->
           </font>
        </div>
  <!--<?php endforeach; endif; unset($_from); ?>-->
  <div class="more"><a href="../search.php?intro=hot"><img src="images/more.gif" /></a></div>
  <!-- <?php if ($this->_tpl_vars['cat_rec_sign'] != 1): ?> -->
  </div>
</div>
</div>
<div class="blank5"></div>
  <!-- <?php endif; ?> -->
<!-- <?php endif; ?> -->

 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
  </div>
  <!--right end-->
</div>
<div class="blank5"></div>
<!--帮助-->
<div class="block">
  <div class="box">
   <div class="helpTitBg clearfix">
    <!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
   </div>
  </div>
</div>
<div class="blank"></div>
<!--帮助-->
<!--友情链接 start-->
<!--<?php if ($this->_tpl_vars['img_links'] || $this->_tpl_vars['txt_links']): ?>-->
<div id="bottomNav" class="box">
 <div class="box_1">
  <div class="links clearfix">
    <!--开始图片类型的友情链接<?php $_from = $this->_tpl_vars['img_links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['link']):
?>-->
    <a href="<?php echo $this->_tpl_vars['link']['url']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['link']['name']; ?>
"><img src="<?php echo $this->_tpl_vars['link']['logo']; ?>
" alt="<?php echo $this->_tpl_vars['link']['name']; ?>
" border="0" /></a>
    <!--结束图片类型的友情链接<?php endforeach; endif; unset($_from); ?>-->
    <!-- <?php if ($this->_tpl_vars['txt_links']): ?> -->
    <!--开始文字类型的友情链接<?php $_from = $this->_tpl_vars['txt_links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['link']):
?>-->
    [<a href="<?php echo $this->_tpl_vars['link']['url']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['link']['name']; ?>
"><?php echo $this->_tpl_vars['link']['name']; ?>
</a>]
    <!--结束文字类型的友情链接<?php endforeach; endif; unset($_from); ?>-->
    <!-- <?php endif; ?> -->
  </div>
 </div>
</div>
<!--<?php endif; ?>-->
<!--友情链接 end-->
<div class="blank"></div>
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
</html>